package com.youlai.springbootstarter;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zc
 * @date 2023-03-17 21:52
 */
@Component
@ConfigurationProperties(prefix = "youlai")
public class YoulaiProperties {

    private String bio = "youlai-mall 是基于Spring Boot 2.7、Spring Cloud 2021 & Alibaba 2021、Vue3、Element-Plus、uni-app等全栈主流技术栈构建的开源商城项目，涉及 后端微服务、 前端管理、 微信小程序和 APP应用等多端的开发。";
    private String serverPath="https://admin.youlai.tech/#/login?redirect=/dashboard";
    private String apiPath="https://api.youlai.tech/doc.html#/home";

    public String getBio() {
        return bio;
    }

    public void setBio(String bio) {
        this.bio = bio;
    }

    public String getServerPath() {
        return serverPath;
    }

    public void setServerPath(String serverPath) {
        this.serverPath = serverPath;
    }

    public String getApiPath() {
        return apiPath;
    }

    public void setApiPath(String apiPath) {
        this.apiPath = apiPath;
    }

    @Override
    public String toString() {
        return "YoulaiProperties{" +
                "bio='" + bio + '\'' +
                ", serverPath='" + serverPath + '\'' +
                ", apiPath='" + apiPath + '\'' +
                '}';
    }
}
